﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace OAuthApp.Data.AppMigrations
{
    public partial class _2022090901UpdateAppDbMigration : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "AppID",
                table: "AppRanks");

            migrationBuilder.DropColumn(
                name: "AppID",
                table: "AppChatMessages");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<long>(
                name: "AppID",
                table: "AppRanks",
                type: "INTEGER",
                nullable: false,
                defaultValue: 0L);

            migrationBuilder.AddColumn<long>(
                name: "AppID",
                table: "AppChatMessages",
                type: "INTEGER",
                nullable: false,
                defaultValue: 0L);
        }
    }
}
